apiVersion: kubeproxy.config.k8s.io/v1alpha1
kind: KubeProxyConfiguration
bindAddress: 0.0.0.0
hostnameOverride: "{{ ansible_hostname.split('-')[-2:] | join('-') | lower  }}-{{ ansible_default_ipv4.address }}"
clientConnection:
  contentType: application/vnd.kubernetes.protobuf
  kubeconfig: /etc/kubernetes/proxy.kubeconfig
clusterCIDR: {{ kubernetes.pods_subnet }}
configSyncPeriod: 0s
conntrack:
  maxPerCore: 32768
  min: 131072
enableProfiling: false
healthzBindAddress: {{ ansible_default_ipv4.address }}:10256
mode: {{ kubernetes.kube_proxy_mode }}
iptables:
  syncPeriod: 30s
  masqueradeAll: false
  masqueradeBit: 14
ipvs:
  minSyncPeriod: 2s
  scheduler: {{ kubernetes.scheduler | default("rr") }}
  strictARP: {{ kubernetes.strict_arp }}
  syncPeriod: 30s
metricsBindAddress: {{ ansible_default_ipv4.address }}:10249
nodePortAddresses: null
oomScoreAdj: -999
